import {sytRequest} from "@/request";
// GET /admin/hosp/hospitalSet/{page}/{limit}
// 获取分页列表
export const getHospitalSet = (page:number,limit:number)=>{
    return sytRequest.get(`/admin/hosp/hospitalSet/${page}/${limit}`)
}

// /admin/hosp/hospitalSet/lock/{id}/{status}
// 锁定
export const getHospitalSetLockId = (id:number,status:number)=>{
    status = status === 0 ? 1:0;
    return sytRequest.get(`/admin/hosp/hospitalSet/lock/${id}/${status}`)
}
